﻿<!DOCTYPE html>
<html>
<head>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>@ViewBag.Title - Dokumento!</title>    

    @*<script src="//code.jquery.com/jquery-1.10.2.js"></script>
    <script src="//code.jquery.com/ui/1.10.4/jquery-ui.js"></script>*@

    <script src="http://www.google.com/jsapi" type="text/javascript"></script>
    <script type="text/javascript">
        google.load("jquery", "1.4.2");
        google.load("jqueryui", "1.7.2");
    </script>
    
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/jquery-ui.min.js"></script>
    @*@Styles.Render("~/Content/css")
    @Styles.Render("~/Content/themes/base/css")*@
    @*@Scripts.Render("~/bundles/modernizr")
    @Scripts.Render("~/bundles/jquery")
    @Scripts.Render("~/bundles/bootstrap")
    @Scripts.Render("~/bundles/jqueryui")*@

    @Styles.Render("~/Content/css")
    @Scripts.Render("~/bundles/modernizr")
</head>
<body>
    <div class="container">
        <div class="masthead">
            <h3 class="text-muted">@Html.ActionLink("Dokumento!", "Index", "Home")</h3>
            @if (Request.IsAuthenticated)
            {
                <button type="button" class="btn btn-default">@Html.ActionLink("Kreator szablonów", "Index", "Creator")</button>
                <button type="button" class="btn btn-default">@Html.ActionLink("Tworzenie Tagów", "Create", "Tags")</button>
                <button type="button" class="btn btn-default">@Html.ActionLink("Podgląd szablonów", "Create", "Tags")</button>
                @*<div class="btn-group" role="group" aria-label="...">
                    <div class="btn-group" role="group">
                        <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                            Lekcje:
                            <span class="caret"></span>
                        </button>
                        <ul class="dropdown-menu">
                            <li>@Html.ActionLink("Widok dzienny", "WidokDzienny", "Lekcjes")</li>
                            <li>@Html.ActionLink("Lista lekcji", "Index", "Lekcjes")</li>
                            <li>@Html.ActionLink("Edycja lekcji", "EdycjaLekcji", "Lekcjes")</li>
                        </ul>
                    </div>
                    <div class="btn-group" role="group">
                        <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                            Instrumenty
                            <span class="caret"></span>
                        </button>
                        <ul class="dropdown-menu">
                            <li>@Html.ActionLink("Instrument dla Ucznia", "Index", "InstrumentUczens")</li>
                            <li>@Html.ActionLink("Instrument dla Naucyzciela", "Index", "InstrumentNauczyciels")</li>
                        </ul>
                    </div>
                    <button type="button" class="btn btn-default">@Html.ActionLink("Sale", "Index", "Sales")</button>
                    <button type="button" class="btn btn-default">@Html.ActionLink("Uczniowie", "Index", "Uczniowies")</button>
                    <button type="button" class="btn btn-default">@Html.ActionLink("Nauczyciele", "Index", "Nauczycieles")</button>
                    <button type="button" class="btn btn-default">@Html.ActionLink("Instrumenty", "Index", "Instrumenties")</button>
                </div>*@
            }
            else
            {
                @*<div class="btn-group" role="group" aria-label="...">                                        
                    <button type="button" class="btn btn-default">@Html.ActionLink("Rejestracja", "Register", "Account")</button>
                    <button type="button" class="btn btn-default">@Html.ActionLink("Logowanie", "Login", "Account")</button>
                </div>*@
            }
            @Html.Partial("_LoginPartial")
        </div>
        <div class="container body-content">
            @RenderBody()
            <hr />
            <footer>
                <p>&copy; @DateTime.Now.Year - Dokumento!</p>
            </footer>
        </div>
        @*@Scripts.Render("~/bundles/jquery")
        @Scripts.Render("~/bundles/bootstrap")*@
        @RenderSection("scripts", required: false)
    </div>
</body>
</html>
